package com.zzyd.factory.account;


import com.zzyd.common.mvp.presenter.BaseContract;

/**
 * @author wjunjie
 * @version 1.0
 * @E-mail wang_junjie007@163.com
 * @company ZZYD
 * @createTime 2018/7/20 14:56
 * @类注释:
 */
public interface RegisterContract {
    interface View extends BaseContract.View<Persenter> {
        /**
         * 注册成功
         */
        void registerSuccess();

    }

    interface Persenter extends BaseContract.Persenter {
        /**
         * 发起一个注册
         *
         * @param phone
         * @param name
         * @param password
         */
        void register(String phone, String name, String password);

        /**
         * 检查手机号格式
         *
         * @param phone
         * @return
         */
//        boolean checkMobile(String phone);

    }
}
